ClearSelCols Method

       

Deselects all columns in a split. If no columns are selected, then this method does nothing.

Syntax

object.ClearSelCols

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

If a grid contains multiple splits, then invoking its ClearSelCols method has the same effect as invoking the ClearSelCols method for the current split. The index of the current split is available through the DataGrid control's Split property.

Use the SelStartCol and SelEndCol properties to determine the current column selection range for a split.